efform_onload = function ()
{
//	efgrid.submitInqu( "ef_grid_result", "ZM","ZMCI60","query"); 
};  

button_query_onclick = function () 
{   	
	efgrid.submitInqu( "ef_grid_result", "ZM","ZMCI60","query");
}

button_delete_onclick = function (){
	var grid=isSelected("ef_grid_result");
	if (grid == 0)return; 
	EFConfirm('你确认要删除吗?', '确认框', function(r) {
		if(r)efgrid.submitForm( "ef_grid_result", "ZM","ZMCI60","delete",true);
	}); 
}

button_update_onclick = function (){
	var grid=isSelected("ef_grid_result");
	if (grid == 0)return; 
	efgrid.submitForm( "ef_grid_result", "ZM","ZMCI60","update",true);
}

button_insert_onclick = function (){
	var grid=isSelected("ef_grid_result");
	if (grid == 0)return; 
	efgrid.submitForm( "ef_grid_result", "ZM","ZMCI60","insert",true);
}